package kr.hkit.powerjava.chapter22.ex;

public class Ex01_Generic <T> {
	private T a;

	public Ex01_Generic(T a) {
		super();
		this.a = a;
	}

	public T getA() {
		return a;
	}
	public static void main(String[] args) {
		Ex01_Generic<String> ex= new Ex01_Generic<String>("제네릭 타입으로 String를 선택");
		System.out.println(ex.getA());
	}
}
